import 'package:json_annotation/json_annotation.dart';

part 'ProductInfo.g.dart';

@JsonSerializable()
class ProductInfo {
  ProductInfo();

  late num productId;
  late String title;
  late String mainImage;
  late num price;
  
  factory ProductInfo.fromJson(Map<String,dynamic> json) => _$ProductInfoFromJson(json);
  Map<String, dynamic> toJson() => _$ProductInfoToJson(this);
}
